/*
 * @Author: HeAo
 * @Date: 2021-10-21 10:15:01
 * @LastEditTime: 2021-10-25 09:24:45
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \ej-webui\src\store\index.js
 * 别乱动！
 */
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
// 导入状态机子模块
import proCategory from './modules/proCategory'
import order from './modules/order'
import users from './modules/users'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    proCategory,
    order,
    users
  },
  getters
})

export default store
